<?php
/*
 * Last Edited: 27-7-2013
 */
class GageModel extends Zend_Db_Table_Abstract{
	protected $_name = 'user_gage';
	protected $_primary = 'id';
    protected $_id = 'id';
    
    public function getGage($id){
    	$db = Zend_Registry::get("connectDB");
    	$mysql = $db->select()
    	->from("user_gage")
    	->where("id = ?", $id);
    	$result = $db->fetchRow($mysql);
    	return $result;
    }
}